export default [
    {
        path: '/user',
        layout: false,
        routes: [
            {
                path: '/user',
                routes: [{ name: '登录', path: '/user/login', component: './user/Login' }],
            },
            { component: './404' },
        ],
    },

    { path: '/welcome', layout: true, name: 'Demo', icon: 'smile', component: './Welcome' },
    { path: '/css', layout: true, name: 'CSS', icon: 'smile', component: './CSS' },
    { path: '/', redirect: '/welcome' },
    { component: './404' },
];
